package com.culturalCenter.dataCenter.service.user;

import com.culturalCenter.dataCenter.entity.user.UserAgeCount;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserAgeCountService {

    /**
     * UserAgeCount分页查询
     *
     * @param page
     * @param size
     *
     * @return
     */
    PageInfo<UserAgeCount> findPage(int page, int size);

    /**
     * 删除UserAgeCount
     *
     * @param id
     */
    Integer delete(String id);

    /**
     * 修改UserAgeCount数据
     *
     * @param userAgeCount
     */
    Integer update(UserAgeCount userAgeCount);

    /**
     * 新增UserAgeCount
     *
     * @param userAgeCount
     */
    Integer add(UserAgeCount userAgeCount);

    /**
     * 根据ID查询UserAgeCount
     *
     * @param id
     *
     * @return
     */
    UserAgeCount findById(String id);

    /**
     * 查询所有UserAgeCount
     *
     * @return
     */
    List<UserAgeCount> findAll(UserAgeCount userAgeCount);

}
